package com.tos.uc.ecommons;

import com.tos316.common.utils.easemobUtils.EasemobUtils;
import org.springframework.stereotype.Component;

/**
 * 环信注册线程
 * @author dwen
 *	2017年5月20日 下午12:24:29
 */
@Component
public class RegistHxThread implements Runnable {

	private int userId;

	@Override
	public void run() {
		System.out.println(EasemobUtils.registerSingleUser(userId));
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

}
